package com.zb.set.service;

import com.zb.entity.AccounLoginInfo;
import com.zb.exception.SMSException;
import com.zb.exception.ZbException;

import java.util.List;

/**
 * @Author WEN
 * @Date 2024/4/3 0003
 **/
public interface ConSetService {
    /**
     * 生成/重新生成邀请码
     * @param custAccId 商家ID
     * @return
     */
    Object generateInviteCode(AccounLoginInfo accountLoginInfo);

    /**
     * 发送邀请码
     * @param loginInfo
     * @param phones 手机号
     */
    void sendSmsInviteCode(AccounLoginInfo loginInfo, List<String> phones) throws SMSException, ZbException;
}
